<template>
	<view>
   <block v-if="!token">
      <my-login></my-login>
    </block>
		<block v-else >
      <my-info></my-info>
    </block>

	</view>
</template>

<script>
  import { mapState } from 'vuex'
  import TabBarM from '@/mixins/tabbar-badge.js'
	export default {
    mixins:[TabBarM],
		data() {
			return {
			};
		},
    computed:{
      ...mapState('m_user',['token'])
    }
	}
</script>

<style lang="scss">

</style>
